/* 所有电影model */
class FilmModel {
  final String id;
  final String title;
  final String image;
  final String score;
  final String subtitle;
  final String viewCount;
  final String isVip;

  FilmModel({
    required this.id,
    required this.title,
    required this.image,
    required this.score,
    required this.subtitle,
    required this.viewCount,
    required this.isVip,
  });

  factory FilmModel.fromJson(Map<String, dynamic> json) {
    return FilmModel(
      id: json['id'],
      title: json['name'],
      image: json['img'],
      score: json['auther'],
      subtitle: json['content'],
      viewCount: json['uycoinnum'],
      isVip: json['ifvip'],
    );
  }
}
